package com.dlx.order.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dlx.model.order.ConsumeOrderInfo;
import com.dlx.vo.order.ConsumeOrderReportQueryVo;
import com.dlx.vo.order.ConsumeOrderReportVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author nglon
 * @since 2021-11-16
 */
@Mapper
public interface ConsumerOrderInfoMapper extends BaseMapper<ConsumeOrderInfo> {

    List<ConsumeOrderReportVo> selectMonthlyReport(@Param("vo") ConsumeOrderReportQueryVo vo);

    List<ConsumeOrderReportVo> selectQuarterlyReport(@Param("vo") ConsumeOrderReportQueryVo vo);

    List<ConsumeOrderReportVo> selectAnnualReport();
}
